<template>
  <div class="item-list">
    <item v-for="item in displayItems" :item="item" :key="item.id"></item>
  </div>
</template>

<script>
import Item from '../components/Item.vue'

export default {
  components: {
    Item
  },
  beforeMount () {
    console.log('test', this.$bar)
    debugger
    this.$bar.start()
  },
  data () {
    return {
      displayItems: window.items
    }
  }
}

</script>
